/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.oea.hibernate.entities;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/*
 *
 * @aunthor DELL
 */
@Table(name = "teaching_schemes")
@Entity
public class Teaching_Scheme extends AbstractEntity {

    @Id
    @GeneratedValue

    @Column(name = "id")
    private Long id;

    @Column(name = "subname")
    private String subname;

    @Column(name = "branch")
    private String branch;
    @Column(name = "semester")
    private int semester;
     @Column(name = "division")
    private int division;

    public int getDivision() {
        return division;
    }

    public void setDivision(int division) {
        this.division = division;
    }

    @Column(name = "theoryhours")
    private int theoryhours;
    @Column(name = "practicalhours")
    private int practicalhours;
    @Column(name = "tutorialhours")
    private int tutorialhours;

    @Column(name = "credit")
    private int credit;
    @Column(name = "subcode")
    private Long subcode;

    public String getSubname() {
        return subname;
    }

    public void setSubname(String subname) {
        this.subname = subname;
    }

    public String getBranch() {
        return branch;
    }

    public void setBranch(String branch) {
        this.branch = branch;
    }

    public int getSemester() {
        return semester;
    }

    public void setSemester(int semester) {
        this.semester = semester;
    }

    public int getTheoryhours() {
        return theoryhours;
    }

    public void setTheoryhours(int theoryhours) {
        this.theoryhours = theoryhours;
    }

    public int getPracticalhours() {
        return practicalhours;
    }

    public void setPracticalhours(int practicalhours) {
        this.practicalhours = practicalhours;
    }

    public int getTutorialhours() {
        return tutorialhours;
    }

    public void setTutorialhours(int tutorialhours) {
        this.tutorialhours = tutorialhours;
    }

    public int getCredit() {
        return credit;
    }

    public void setCredit(int credit) {
        this.credit = credit;
    }

    public Long getSubcode() {
        return subcode;
    }

    public void setSubcode(Long subcode) {
        this.subcode = subcode;
    }
    

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

}
